-
Home
-
Asaas Gateway for WooCommerce
-
2.6.5
-
Code
-
Classes
- Card_Expiration
| Total Complexity |
29 |
| Dependencies |
3 |
| Dependents |
2 |
| Total lines |
241 |
| Lines of code |
119 |
| Logical lines of code |
59 |
| Comment lines |
92 |
| Methods |
12 |
| Properties |
0 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| validate() |
S |
51 |
6 |
24 |
| validate_month() |
S |
70 |
5 |
5 |
| validate_year() |
S |
63 |
5 |
9 |
| field() |
S |
61 |
3 |
12 |
| get_subfields() |
S |
57 |
2 |
17 |
| date_args() |
S |
65 |
2 |
9 |
| month_args() |
S |
62 |
1 |
11 |
| year_args() |
S |
62 |
1 |
11 |
| get_type() |
S |
82 |
1 |
3 |
| invalid_expiration_message() |
S |
72 |
1 |
6 |
| invalid_expiration_month_message() |
S |
70 |
1 |
6 |
| invalid_expiration_year_message() |
S |
70 |
1 |
6 |